<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>

    <script>
        const request = new XMLHttpRequest();
        request.open("POST","http://www.biwuit.cn/spboot/userLoginPostRequest")
        request.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
        request.send("username=admin&password=66666")

        
        request.onreadystatechange = function(){
            if(request.status==200)
            {
                console.log("POST请求")
                console.log(request.responseText)
            }
        }

    </script>
</body>
</html>